'use strict';

import React, {
    Component
} from 'react';

import {
    AppRegistry,
} from 'react-native';

import { Provider } from 'react-redux';
import RootStore from './Store/RootStore';
import App from './App';

class Root extends Component {
    render() {
        return (
            <Provider store = {RootStore} >
                <App />
            </Provider>
        )
    }
}
AppRegistry.registerComponent('DPProject', () => Root);